X Lossless Decoder:
Lossless audio decoder for Mac OS X

Japanese
Last modified: 2024/5/12

What is this?

X Lossless Decoder(XLD) is a tool for Mac OS X that is able to decode/convert/play various 'lossless' audio files. The supported audio files can be split into some tracks with cue sheet when decoding. It works on Mac OS X 10.4 and later.

XLD is Universal Binary, so it runs natively on Intel Macs, PPC Macs, and the latest Apple Silicon Macs.

Screenshot

Features

Support various formats

XLD can decode following formats:

Other formats supported by Libsndfile are also decodable. XLD uses not decoder frontend but library to decode, so no intermediate files are generated. All of the supported formats can be directly split with the cue sheet. XLD also supports so-called 'embedded' or 'internal' cue sheet.

XLD supports various output formats. It can convert audio files into WAVE, AIFF, Raw PCM, Ogg Vorbis (aoTuV), MPEG-4 AAC (QuickTime/CoreAudio), MP3 (LAME), Apple Lossless, FLAC, HE-AAC (aacPlus v1/v2), Wave64, WavPack, and IETF Opus.

XLD version 20080812 and later can be used as a CD ripper. You can convert each track in your audio CD into the desired format. Also XLD supports output a CD image with cue sheet (wav+cue, flac+cue, etc).

Plug-in oriented design

Frontend and backend of XLD are perfectly separated, so the frontend is able to access various encoders/decoders with the same interface. If we provide a plug-in interface in the future, you can easily develop the plug-in of the new format. If you are interested in this, please see XLDDecoder.h in the source files.

How to use

IMPORTANT NOTE : To split ape(flac,wav,etc) + cue files, open the .cue file from "Open..." in File menu. "Open Raw PCM (bin/cue)" can be only used to handle Raw PCM (header-less wav) files.

Prease refer Readme file included in the archive to get usage of GUI version. Usage of command line version is:

% xld [-c cuesheet] [-e] [-f format] [-o outpath] [-t track] file

Without any option, XLD simply outputs decoded WAVE file. The extension of the output file is changed from original one into ".wav"

You can specify the following options:

-c cuesheet
Split file into tracks with cue sheet. If 'TITLE or 'ARTIST' is described in the cue sheet it affects the name of the output file.
-e
Exclude pre-gap from output file. Pre-gap is appended to the last of tracks by default. This option is ignored when '-c' option is not specified.
-f format
Specify the format of the output file. You can specify the following formats:
  • wav
  • Microsoft WAVE format. This is default output format. Extension is ".wav".
  • aif
  • Apple AIFF format. Extension is ".aiff".
  • raw_big
  • Big-endian raw(linear) PCM format. Extension is ".pcm".
  • raw_little
  • Little-endian raw(linear) PCM format. Extension is ".pcm".
-o outpath
Specify the path or name of the output file. If outpath is a directory, output file is saved in that directory.
-t track
If you specify "1" as a track, only the track 1 is decoded. Likewise, Track 2 and 4 are decoded when you specify "2,4" as a track.
--raw
Read input file as Raw PCM. Following 4 options can be specified.
--samplerate n
Set samplerate of input file to n Hz when --raw option is specified. Default is 44100 Hz.
--bit n
Set bit depth of input file to n bit when --raw option is specified. Default is 16 bit.
--channels n
Set number of channels of input file to n ch when --raw option is specified. Default is 2 ch.
--endian little/big
Set endian of input file when --raw option is specified. Default is little.

Examples

% xld -o ~/Music hoge.flac -f aif

Decode hoge.flac in the AIFF format, and output in ~/Music.

% xld -c hoge.cue -t 1,3 hoge.flac

Split hoge.flac with hoge.cue, and decode the 1st and 3rd tracks.

Download

The source code of XLD is available here. The library and header of Libsndfile, FLAC, Wavpack, Monkey's audio and Libcddb is required to compile.

Make a donation

If you appreciate XLD and would like to support the project, you are welcome to donate via Paypal.

USD:

Euro:

Donation amount can be changed via quantity field.

Version history

2024/5/11

2024/3/10

2023/6/27

2023/4/16

2022/9/17

2022/9/10

2021/10/18

2021/1/1

2020/11/23

2019/10/4

2018/10/19

2018/10/1

2017/7/29

2017/7/10

2016/10/7

2016/9/20

2015/12/14

2015/11/28

2014/11/29

2014/11/9

2014/5/11

2014/5/4

2014/4/27

2013/11/2

2013/7/20

2013/6/2

2013/6/1

2013/4/7

2013/1/27

2012/12/22

2012/10/27

2012/10/13

2012/9/24

2012/9/8

2012/7/22

2012/6/9

2012/4/7

2012/2/26

2012/1/20

2011/12/11

2011/12/11

2011/11/13

2011/10/16

2011/10/15

2011/9/24

2011/8/21

2011/8/20

2011/8/2

2011/7/3

2011/6/11

2011/5/28

2011/5/15

2011/5/2

2011/4/17

2011/3/12

2011/2/28

2011/2/23

2010/12/12

2010/12/8

2010/11/20

2010/10/27

2010/10/23

2010/9/18

Important: OSX 10.3.9 won't be supported anymore. Maybe still it works, though.
Feature additions Improvements Bug fixes

2010/5/11

2010/4/1

2010/1/23

2009/11/29

2009/11/8

2009/9/24

2009/8/28

2009/8/25

2009/3/20

Feature additions Improvements Bug fixes

2009/2/15

Feature additions Improvements Bug fixes

2008/9/14

Feature additions Improvements Bug fixes

2008/8/22

2008/8/18

2008/8/16 (cont.)

2008/8/16

2008/8/12

2008/7/6

2008/7/5

2008/6/1

2008/5/3

2008/4/23

2008/4/21

2008/4/19

2008/4/6

2008/3/30

2008/3/13

2008/3/10

2007/3/8

2007/3/5

2007/11/21

2007/11/19

2007/11/14

2007/11/11

2007/9/17

2007/8/11

2007/7/28

2007/6/28

2007/5/4

2007/2/14

2006/12/16

2006/12/9

2006/12/3

2006/11/29

2006/11/25

2006/11/19

2006/11/18 (Revision 2)

2006/11/18

2006/11/11

2006/11/8

2006/10/31

2006/10/29

2006/10/28

2006/10/27

2006/10/26

2006/10/25

2006/10/22

2006/10/14

2006/10/12

2006/10/11

2006/9/25

2006/9/16 (Revision 2)

2006/9/16

2006/9/15

2006/9/14

2006/9/13

2006/9/11

2006/9/9

2006/9/8

2006/9/2

2006/8/28

2006/8/27

2006/8/26

2006/8/8

2006/8/5

2006/7/16

2006/6/22 (revision 2)

2006/6/22

2006/6/20

2006/6/17 (revision 2)

2006/6/17

2006/6/15

2006/6/14

2006/6/13

2006/6/12

2006/6/6

2006/5/30

2006/5/28

2006/5/27


Back (Japanese page)

Please feel free to link to this page.
E-mail